package com.engineering.elink.domain;

import java.util.Date;

public class VideoPraise {
    private Integer praiseId;

    private Integer evalCommentId;

    private Integer praiseType;

    private String userId;

    private Date praiseTime;

    private Integer type;
    
    public VideoPraise(){
    	
    }
    public VideoPraise(Integer evalCommentId,Integer praiseType,String userId,Integer type){
    	this.evalCommentId=evalCommentId;
    	this.praiseType=praiseType;
    	this.userId=userId;
    	this.type=type;
    	this.praiseTime=new Date();
    }

    public Integer getPraiseId() {
        return praiseId;
    }

    public void setPraiseId(Integer praiseId) {
        this.praiseId = praiseId;
    }

    public Integer getEvalCommentId() {
        return evalCommentId;
    }

    public void setEvalCommentId(Integer evalCommentId) {
        this.evalCommentId = evalCommentId;
    }

    public Integer getPraiseType() {
        return praiseType;
    }

    public void setPraiseType(Integer praiseType) {
        this.praiseType = praiseType;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId == null ? null : userId.trim();
    }

    public Date getPraiseTime() {
        return praiseTime;
    }

    public void setPraiseTime(Date praiseTime) {
        this.praiseTime = praiseTime;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }
}